$(function (){


    $('#headerContent').load('header.html #header',function(){
        alert('header content inserted html from header.html');//
    })

    $('#date').datepicker({
        showOn: "button",
        buttonImage: "images/calendar.gif",
        buttonImageOnly: true,
        buttonText: "Select date"
    });
});